<?php

/**
 * Description of Helpers_CalendarCarousel
 *
 * @author a.novikov
 */
class Helpers_ProductCard extends Helpers_Base {

	public function getViewPath() {
		return 'layouts/blocks/product_card.tpl';
	}

	public function productCard(ProductRow $row) {

		$this->view->product = List_Product_Card::fromProductRow($row);

		return $this->render();
	}
}